Apparatus for recording information of camera capable of optical data recording and magnetic data recording

ABSTRACT

An apparatus for recording data to a film, executing: both unchangeable recording such as optical recording, and changeable recording such as magnetic recording for relatively important data, which is required protection from data failure and is permitted to change such as date, date print mode, and trimming direction of printing area, and executing: only magnetic recording for relatively unimportant data, which is allowed some data failure and has few possibility of changing such as aperture value, shutter time value, photometric value, exposure compensation value, and object distance value; wherein the apparatus is housed in a detachable back cover of a camera, and data being transmitted from the main body of the camera to the back cover.

This is a continuation of application Ser. No. 08/474,434 filed on Jun.7, 1995, now abandoned, which is a continuation of application Ser. No.08/209,761 filed on Mar. 11, 1994, now U.S. Pat. No. 5,526,078.

FIELD OF THE INVENTION

The present invention relates generally to an apparatus for recordinginformation and, in particular, to an apparatus for recordinginformation in a camera which is capable of recording data on film,wherein the information to be recorded is information such as thephotographing date or the trimming area direction, of the printing areawith reference to the full-sized exposure area of the film, and so on.

BACKGROUND OF THE INVENTION

A method of recording information such as the date a photograph is takenor film trimming area directions onto the film are known. When recordingsuch information on the film, there are provided two methods consistingof a method which is not capable of changing data after developing thefilm such as an optical printing, and a method which is capable ofchanging data at any time such as a magnetic recording. When recordingdata on the film, usually, only one of the above mentioned methods isapplied.

Recently, a method of recording such information using both of the abovementioned methods was disclosed in the Japanese laid open patentpublication 4-125533/92, which discloses a camera capable of recordingdirection data of trimming using both magnetic recording and opticalrecording so as to provide visual data verification not available fromthe magnetic recorded data. However, in this prior art, the idea ofselecting data suitable for recording on the film, as a function of theproperties of magnetic recording and optical recording and theimportance of the data is not shown. Thus, while the prior artrecognizes that data to be recorded to the film includes the date ofphotographing, mode of date printing, aperture value, shutter timevalue, photometric value, exposure compensation value, distance data ofan object, and so on, it does not disclose a method of selecting whichrecording method should be used to record such data to the film.

SUMMARY OF THE INVENTION

A first object of the present invention is to obtain an apparatus forrecording information which is capable of selecting recording methods inaccordance with the importance of the data to be recorded.

A second object of the present invention is to obtain an informationrecording apparatus which is capable of selecting recording methods inaccordance with the data which may be changed, or with the data whichwill not be changed, after taking photograph.

A third object of the Present invention is to obtain an apparatus forrecording information of a camera which is capable of selectingrecording methods on the basis of whether the data is permitted to bechanged, or the data is not permitted to be changed, after takingphotograph.

In order to obtain such an apparatus, according to the presentinvention, the apparatus for recording information of the camera,comprising: a memory means for storing a plurality of data for everyframe to be used when taking photographs, developing, or printing; aprinting means for printing the data on the film; a magnetic recordingmeans for recording the data magnetically onto the magnetic recordingportion of the film; and a control means for recording data stored inthe memory by using both magnetic and optical recording methods forfirst data which are highly protected from changing, and/or may bechanged, and for recording data stored in the memory by using onlymagnetic recording methods for second data which are not highlyprotected from changing, and/or may not be changed.

These and other objects and features of the present invention will bebetter understood by reading the description of the preferredembodiments as given below.

BRIEF DESCRIPTION OF THE DRAWINGS

The present invention will be more apparent from the following detaileddescription, when taken in conjunction with the accompanying drawings,in which;

FIG. 1 is a block diagram showing a structure of an informationrecording apparatus according to an embodiment of the present invention;

FIG. 2 is a drawing illustrating the outside of a camera systemincorporating an information recording apparatus according to thepresent invention;

FIG. 3 is an explanatory drawing for explaining in detail the drivercircuit 21 and battery check circuit 23;

FIGS. 4 and 5 are illustrations for explaining the light measuringcircuit 12, and the back cover module 7, respectively;

FIGS. 6-8 are perspective views illustrating the film feeding mechanism22 from the back side of the main body 3 of the camera, the back covermodule 7 being mounted to the main body 3 of the camera, and a filmcassette, respectively;

FIG. 9 is a time chart showing operation of the camera in mode A-C;

FIGS. 10-14 are time charts showing operation of the camera in mode D-H,respectively;

FIG. 15 is an illustration showing a memory map of the EEPROM 46connected to the M microcomputer 26;

FIGS. 16 and 17 are flow charts for explaining the operating sequence ofthe camera in the main routine according to this embodiment;

FIGS. 18-24 are flow charts for explaining the operating sequence of thecamera in the subroutine "mode change", "initial winding", "one framewinding", "rewinding", and "battery check", respectively;

FIGS. 25 and 26 are illustrations showing indication change in responseto the state of DATE MOD SW, and SEL SW, respectively;

FIGS. 27 and 28 are illustrations showing trimming data change, andprinting format of the date, respectively;

FIG. 29 is an illustration for explaining the printing areacorresponding to the trimming data;

FIGS. 30(a) through 30(e) is an illustration showing sample indicationin the view finder;

FIGS. 31-33 are illustrations showing operation of recording data intothe magnetic material of the film 29 by the M microcomputer 26;

FIGS. 34(a) through 34(c) is an illustration showing operation of the Mmicrocomputer 26 recording data optically into the film 29 by using Mprinting LED;

FIG. 35 is a time chart showing operation of the M microcomputer 26recording data optically into the film 29 by using M printing LED;

FIGS. 36(a) and (b) are recording form examples different from that ofin FIG. 34;

FIG. 37 is an illustration showing an example of data printed into thearea A in FIG. 34(a); and

FIG. 38 is a flow chart showing the operation of the M microcomputer 26.

DETAILED DESCRIPTION

Preferred embodiments of the present invention will be explained belowwith reference to the accompanying drawings.

FIG. 2 is an illustration showing an outside drawing of a systemincorporating an information recording apparatus according to thepresent invention. There are provided with mode switch MODE SW 1,information display 2, and release switch REL SW 4 on the upper face ofa main body of a camera 3, and provided with film cassette housing 5 inthe back face of the camera for housing a film cassette, take up spool 6for winding up loaded film, and connecter 8 for making communicationwith a back cover module 7 housed in a back cover. The back cover module7 is detachable from the main body 3 of the camera, various operationswitches 9 for data recording, and display member 10 for indicatingcamera data on the module 7. The MODE SW 1 is operated to set theoperating mode of the camera, where the operating mode is indicated inthe display 2. The back cover module 7 is connected to the main body 3of the camera through the connecter 8, executing data recordingoperation such as date printing or magnetic writing onto the film inresponse to the main body 3 of the camera.

FIG. 1 is a block diagram showing a structure of the informationrecording apparatus according to one-embodiment of the presentinvention. A microcomputer for body use 11 (hereinafter referred to as"B microcomputer") housed in the main body 3 of the camera controls themain body 3 of the camera. Where a light metering circuit 12, a focusstate detecting circuit 13, a shutter controlling mechanism 14, anaperture controlling circuit 15, a focus adjusting mechanism 16, anindicating circuit 17, a memory circuit 18, a flash control circuit 19,a read out circuit of the DX code 20, a driver circuit 21, a batterycheck circuit 23, a date control circuit 30, a signal processing circuit24, and mode switches 1 are housed in the main body 3 of the camera. Amicrocomputer (hereinafter referred to as "M microcomputer") for theback cover module use 26, a data recording circuit 27, and a dataprinting circuit 28 are housed in the back cover module 7. A drivercircuit 21 is connected to a film feeding mechanism 22, a date controlcircuit 30 is connected to a body B printing LED 31, and a signalprocessing circuit 24 is connected to a photo interrupter PI 25,respectively.

A display indicating circuit 17 indicates current frame number andexposure condition in response to the B microcomputer 11. The memorycircuit 18 is composed by a non-volatile memory such as an EEPROM, whichstores current frame number and adjusting data of the camera. The flashcontrol circuit 19 controls charging of the main capacitor (not shown)of a flash device, and triggering a Xenon tube in response to the Bmicrocomputer 11. The read out circuit of the DX code 20 reads out filmspeed and the frame number of the exposure from the film cassette. Thedriver circuit 21 controls a motor for driving the film feedingmechanism 22 in order to wind and to rewind the film 29 in response tothe B microcomputer 11. The battery check circuit 23 is used whenmeasuring battery voltage of the main body 3 of the camera. The Bprinting LED 31 prints date optically within the exposure area of thefilm, where date printing is executed in response to winding operationafter taking a photograph in response to the date control circuit 30.

The date control circuit 30 produces printing data such as "minute","hour", "day", "month", and "year" by dividing the clock frequencygenerated by a quartz controlled oscillator, wherein the date data areindicated by the display circuit 17. The signal processing circuit 24converts a signal generated by the PI 25 in response to the movement ofthe film 29 into pulse signals. The mode switches 1 are switches to beoperated when changing operating mode of the camera. A back cover switchBK SW is a switch which is closed when the rear cover of the camera isopened. The B microcomputer 11 decides film loading by detectingtransition (ON/OFF) of the BK SW. Power switch PW SW is a switch forsupplying power of the camera. Pop up switch POP UP SW is a switch to beoperated when activating the flash device. Release switch REL SW 4 is aswitch for generating a trigger of exposure sequence. Rewind switch REWSW is a switch for rewinding the film on the way, and whenever operatedthe REW SW, exposed film 29 is rewound into its film cassette. The backcover module 7 is detachable from the main body 3 of the camera asmentioned above. The M microcomputer 26 controls the back cover module7. The data recording circuit 27 records data magnetically into themagnetic track disposed on the side of the film 29 opposite the emulsionside. The data printing circuit 28 records date data optically onto thefilm 29.

The driver circuit 21 and the battery check circuit 23 will be describedbelow with reference to FIG. 3. The digital signal related to movingspeed of the film decided by the B microcomputer 11 is converted into ananalog signal by the D-A converter 11a, which is built in the Bmicrocomputer 11, and the analog signal is transmitted to a comparisoncircuit 37 as a reference signal for directing moving speed of the film29. Where the signal compared with the reference signal is the signalfrom an f-V converter 32. Pulse signal converted from the PI 25 by thesignal processing circuit 24 is also inputted into the f-V converter 32.The frequency of the pulse signal is proportional to the moving speed ofthe film 29, this pulse signal is also transmitted to the Bmicrocomputer 11, where the B microcomputer detects the amount of filmmovement by counting the pulse signal.

The comparison circuit 37 compares the output of the D-A converter 11awith the output of the converter 32, and regulates supply voltage of thebridge circuit 35 consisted of transistors Q2-Q5 so that above twooutput values are going to meet, i.e., if the output of the f-Vconverter 32 is lower than that of the D-A converter 11a, then thecomparison circuit 37 raises the base voltage of transistor Q1 as toraise supply voltage of the bridge circuit 35. Thus, the revolution ofthe motor (M1) for winding and rewinding of the film 29. On the otherhand, if the output of the f-V converter 32 is higher than that of theD-A converter 11a, then the comparison circuit 37 lowers the basevoltage of transistor Q1 as to lower the supply voltage of the bridgecircuit 37. Thus, the revolution of the motor (M1) goes down. Therefore,the film 29 is driven at a speed according to a set signal of the D-Aconverter 11a. The bridge circuit 36 consisted of transistors Q6-Q9 isused for driving the motor (M2) for initial advance of a film loadedinto the camera. The collector resistor RL is a load resistor to be usedin the battery check operation. When measuring the battery voltage, theB microcomputer 11 sets PRL from "H" (high level) to "L" (low level),then the transistor Q10 turns on and current from the battery is flowninto the load resistor RL. Resistors R1 and R2 are dividing the batteryvoltage, and the divided battery voltage is inputted into the A-Dconverter 11b of the B microcomputer 11.

The detail of the light metering circuit 12 will be described below withreference to FIG. 4. The photoelectric element 38 is divided into fiveSPDs, i.e., ASPD, BSPD, CSPD, DSPD, and ESPD. Each of the SPDs receivesluminous of the corresponding portion of the field, and generates eachphotoelectric currents. Each of the photoelectric currents is inputtedinto the corresponding compression circuits 39a-39e, respectively. Inthe compression circuits 39a-39e, the photoelectric currents arecompressed logarithmically, and applying them into the A-D converter 11bof the B microcomputer 11. Where the B microcomputer 11 calculates fivephotometric values (BvA, BvB, BvC, BvD, and BvE) by the luminous datafrom the A-D converter 11b and the adjust data in the memory circuit 18.

The detail of the back cover module 7 will be described below withreference to FIG. 5. The communication line between the B microcomputer11 and the M microcomputer 26 is connected through the connector 8 whichhas eleven terminals, battery voltage Vee of the main body 3 of thecamera being connected to a terminal T1, output voltage Vcc of theDC--DC converter 40 being connected to a terminal T2, communicationlines between the B microcomputer 11 and the M microcomputer 26 beingconnected to terminals T3-T9. Communication request signal RQ beingoutputted to a terminal T3, a communication enable signal EN beingoutputted to a terminal T4, data latch signal DL being outputted to aterminal T5, and the data DO-D3 being outputted to terminals T6-T9. Themethod of communication between the B microcomputer 11 and the Mmicrocomputer 26 will be described later. In the present embodiment, thedigital data are handled in four bit units. The data can be handled inunits of eight bits in order to obtain a fast communication, and themethod of communication can be in serial form in order to reduce thenumber of communication lines.

The pulse signal caused by the signal processing circuit 24 in the mainbody 3 of the camera is transmitted to the M microcomputer 26 in theback cover module 7 through the terminal 11, wherein the pulse signal isgenerated in response to the movement of the film 29. The Bmicrocomputer 11 detects the amount of film movement on the basis of thepulse signal inputted from the PPI. The M microcomputer 26 executesoptical data printing and magnetic data recording to the film, and alsoexecutes data reproducing from the magnetic track of the film insynchronizing to the pulse signal from the PPI. The power of the Mmicrocomputer 26 is supplied by the DC--DC converter 40 in the main bodyof the camera. The M printing LED 44 prints various kinds of data ontothe adjacent portion below the exposure area. Each of the LED of thelight segments turning on when transistor Q11-Q17 turns on, where eachof the transistors is turns on when the output port PA-PG is set to ahigh level "H". The transistor Q30 is provided for driving the solenoid45, as current flowing to the solenoid 45 causes the magnetic head 34 toabut the film 29 when the output port PHG is set to high level "H". TheEEPROM 46 temporarily stores the data to be supplied to the magnetichead 34. The data should be stored before rewinding operation of thefilm 29 because the operation of data printing is executed inassociation with the rewinding of the film 29. The data stored in theEEPROM 46 are changeable by the operating switch 9. The display circuit47 indicates various recorded data in the EEPROM 46 in response to theoperation of the M microcomputer 26.

The detail of the film feeding mechanism 22 and in the first embodimentwill be described below with reference to FIGS. 6-8. FIG. 6 is aperspective view illustrating the film feeding mechanism 22 from backside of the main body 3 of the camera, FIG. 7 is a perspective viewillustrating the back cover module 7 mounted to the main body 3 of thecamera, and FIG. 8 is a perspective view illustrating a film cassette,respectively. In FIGS. 6-8, a pinion gear 63 is mounted onto the outputshaft of the motor (M1) 61, which is provided in the main body 3 of thecamera for winding and rewinding the film, wherein the pinion gear 63meshs with a sun gear 64. The sun gear meshes with a planetary gear 65,where the planetary gear 65 is supported via a gear arm 66 to enable theplanetary gear 65 to revolve around the sun gear 64. The take up spool 6for winding the film is rotatably provided, which is disposed in thefilm take up chamber (not shown) being provided in the right side of thecamera from back side thereof. A spool gear 67 for meshing with theplanetary gear 65, when the planetary gear 65 is revolving around thesun gear in the counter clockwise direction, is integral with the upperface of the take up spool 6. A ratchet 68 for matching the perforationof the film is projected on the bottom surface of the take up spool 6.An idle gear 69 is disposed in the position of meshing with theplanetary gear 65 when the planetary gear 65 is revolving around the sungear in the clockwise direction. In this condition, the planetary gear65 will be meshed with a coupler gear 73 via the idle gear 69, 70, 71,and 72 as shown in FIGS. 6-7.

On the other hand, in the left side of the camera viewed from the backside thereof, there is provided a film cassette chamber 5 for housingthe film cassette. The coupler gear 73 is rotatably provided above thefilm cassette with a coupler 75 projecting from its end portion as aminus (-) shape. The coupler 75 being matched with the spool ditch onthe upper face of the film cassette, and being integral with the spoolditch around the axis.

A motor (M2) 62 for delivering the film is disposed in the main body 3of the camera, a pinion gear 77 is mounted onto the output shaft of thedelivering motor 62, and is meshing with the sun gear 78. A planetarygear 79 is supported to enable it to revolve around the sun gear 78.Only when the film delivering motor (M2) 62 is revolving in the counterclockwise direction, does the planetary gear 79 mesh with the idle gear72, because of the tension on the gear arm 80 generated by the spring81. The film 29 is exposed by the light flux from an exposure opening 82built into the main body 3 of the camera. A sprocket wheel 83 isprovided near the opening 82, where the sprocket wheel 83 meshes withperforation 29b of the film 29. The sprocket wheel 83 rotates inresponse to the movement of the film 29. A gear 85 is provided integralwith a pressure roller 84 on the shaft of the sprocket wheel 83, thegear 85 meshes with a gear 86. A disk with radial slits 87 is alsoprovided on the shaft of the gear 86. When the sprocket wheel-83rotates, the disk 87 is rotated with increasing revolution by the gears85 and 86. Whenever the radial slit of the disk 87 crosses the PI 25,the PI 25 generates an output signal, where the output signal isconverted into a pulse signal by the signal processing circuit 24.

A mechanism for pressing the magnetic head 34 against the film 29 isbuilt in the back cover module 7. The magnetic head 34 is disposedagainst the pressure roller 84 enabling it to catch the film 29. Themagnetic head 34 and the M printing LED 44 are both arranged on a base88 which can slide in the direction noted by the arrows A and B in FIG.7. When the solenoid 45 is not driven, the magnetic head 34 can nottouch the film 29, because of the tension to the base 88 provided by aspring 89. The output shaft of the solenoid 45 is fixed to a base 90which can slide in the direction noted by the arrows C and D. A pin 91is fixed at the position in FIG. 7. In spite of the tension to the baseprovided by a spring 92, when the solenoid 45 is driven, the base 90slides in the direction noted by the arrow D, the pin 91 slides alongthe side face 93 of the base 88, the base 88 slides against the tensionof the spring 89 in the direction noted by the arrow A, and then themagnetic head 34 presses against the film 29.

The detail of the method of communication between the B microcomputer 11and the M microcomputer 26 will be described below with reference toFIGS. 9-15. In this embodiment, as B microcomputer 11 takes theleadership in communication, a communication request signal is generatedby the B microcomputer 11. The B microcomputer 11 sets PRQ from highlevel "H" to low level "L", which represents a communication requestdirected to the M microcomputer 26. When the M microcomputer 26 becomesable to communicate, the M microcomputer 26 sets Pen from high level "H"to low level "L", which means communication is enabled. Then the Bmicrocomputer 11 transmits command data to PDO-PD3, where the data arein eight bit units. The higher nibble (four bits) and the lower nibble(four bits) of each eight bit unit is transmitted separately, because ofthe use of a four bit data bus configuration. A latch signal forlatching the nibble data is transmitted to the PDL. The data transmittedat first is command data. The M microcomputer 26 discriminatescommunication mode using the command data, and executes operation inresponse to the communication mode. When finishing the operation, the Mmicrocomputer 26 sets Pen from low level "L" to high level "H". Whendetecting transition of Pen, the B microcomputer 11 sets PRQ from lowlevel "L" to high level "H", then the communication is terminated.

The operations of A-C modes will be described below with reference tothe time chart of FIG. 9. The A mode is a mode with no specialoperation, when receiving command A, the M microcomputer 26 keeps Pen atthe low level "L" within predetermined period of time. The Bmicrocomputer 11 uses the A mode in order to discriminate whether theback cover mounted to the camera is the back cover module 7 or aconventional one. That is the reason why the M microcomputer 26 needs nospecial operation. In the B mode, when receiving command B, the Mmicrocomputer 26 enables current to flow into the solenoid 45, and themagnetic head is pressed to the film 29. In the C mode, when receivingcommand C, the M microcomputer 26 disables the flow of current in thesolenoid 45, causing the magnetic head 34 to separate from the film 29.

The operation of D mode will be described below with reference to thetime chart of FIG. 10. The D mode is a mode which photographing data tobe recorded by the magnetic head and M printing LED 44 onto the film 29are stored into the EEPROM 46 of the back cover module 7. Aftertransmitting command D, the B microcomputer 11 transmits record dataDTlDT(n) to the M microcomputer 26. The current frame number data areused for reserving the area in the EEPROM 46, the number of data (n) isadded for the convenience of the M microcomputer 26 in receiving thedata.

The operation of E mode will be described below with reference to thetime chart of FIG. 11. After transmitting command E, the B microcomputer11 transmits parameters O-N to the M microcomPUter 26, where theparameters are stored in the memory circuit 18 and used by the Mmicrocomputer 26 when executing operation of recording onto the film 29.

The operation of F mode will be described below with reference to thetime chart of FIG. 12. The F mode is a mode which the data stored in theEEPROM 46 are recorded onto the film 29 by the magnetic head 34 and theM printing LED 44. The communication of the F mode is carried out whenrewinding the exposed film into the film cassette. After transmittingcommand F, the B microcomputer 11 transmits record start signal, wherethe record start signal itself represents the current frame number. Whenreceiving the current frame number data, the M microcomputer 26 readsout data in the corresponding area of the EEPROM 46, and data set forone frame are recorded onto the film 29 in synchronism with the pulsesignal of the PI 25.

The operation of G mode will be described below with reference to thetime chart of FIG. 13. G mode is a mode which the recorded data on themagnetic track 41 are reproduced. After transmitting command G, the Bmicrocomputer 11 transmits current frame number, where the current framenumber indicates the memory area of the EEPROM 46 is where thereproduced data is to be stored. The M microcomputer 26 reproduces datafor one frame from the magnetic track 41 and stores them into thedirected area of the EEPROM 46.

The operation of H mode will be described below with reference to thetime chart of FIG. 14. In the H mode, the B microcomputer 11 can readout the data stored in the EEPROM 46. After transmitting command H, theB microcomputer 11 transmits current frame number. The M microcomputer26 reads out the data stored in the area directed by the current framenumber, and transmits them to the B microcomputer 11, where DT1-DTndenotes the current frame number. The data number (n) is added for theconvenience of the B microcomputer 11 in receiving the data.

The memory map of the EEPROM 46, connected to the M microcomputer 26,will be described below with reference to FIG. 15. The EEPROM 46 ispartitioned in a plurality of areas, with each areas having datacorresponding to one frame. These data are recorded onto the film 29 bythe magnetic head 34 and the M printing LED 44 when the film 29 isrewound into the film cassette 74. The data corresponding to frame zeroare recorded in the address ADOO-ADON. Frame zero of the film is notallowed to be exposed, but is allowed to be recorded into the magnetictrack. Therefore, the area for frame zero is mainly used for managingthe film 29 by the processing laboratory. The number of exposed framesis recorded in order to prevent double exposure, while the number of thetrimming frame is also recorded for convenience in the film processing.Each of the areas of EEPROM 46, from frame one to frame n are dividedinto two sub-areas as shown, one sub-area storing the data to berecorded to the magnetic track of the film and the other sub-areastoring the data to be printed to the outside portion below the exposurearea by the M printing LED 44. The stored data are shown for example.The date, print mode, and trimming information data are required to berecorded both magnetically and optically, where the print mode data willbe described later.

In general, magnetic recording method is allowed to change data,however, the recorded data may get failure when there is carelessaccessing of a magnet to the media. Therefore, data that has nopossibility of changing, such as date data, should not be recorded onlyby the magnetic recording method to prevent the possibility of losingsuch data due to data failure. On the other hand, the optical recordingmethod does not permit data to change after developing the film.Therefore, data which may possibly change, such as date print mode andtrimming information, should not be recorded only by the opticalrecording method.

For the above mentioned reason, in this embodiment, these three data arerecorded to the film using both recording methods.

The operation of the B microcomputer 11 will be described below withreference to the flow charts of FIGS. 16-24. The operating sequence inthe main routine of this embodiment is described with reference to theflow chart of FIG. 16. When the PW SW is turned on, the B microcomputer11 starts the DC--DC converter 40 and initializes the I/O ports and thememories (step SlO1). The B microcomputer 11 discriminates whether ornot the rewind flag is set (step S102). If the rewind flag is set "1",the flow advances to step S103 and executes subroutine "rewind X", thennext step S104 is performed. On the other hand, if the rewind flag isnot set, then the flow advances to step S104 directly. The rewind flagis set whenever the rewinding operation of the film 29 is terminated onthe way. In step Sl04, the A mode communication is carried out in orderto discriminate whether the back cover module 7 is mounted to the cameraor not, if the back cover mounted to the camera is other than the backcover module 7, as no communication is available, then the flow advancesfrom step Sl05 to step Sl06, making the M flag reset "0". Whenever the Mflag is "0", no communications are executed, thus the operating modeallows no information to be recorded to the film 29. In step Sl04, ifthe A mode communication is accomplished, the flow advances from stepSl05 to step Sl07, and the M flag is set "1", thus the operating modeallows information to be recorded to the film 29. After this step, the Emode communication is executed, wherein the M microcomputer 26 receivesthe parameters for data printing and data recording.

In step S109, the state of the operation SW 9 of the back cover module 7is detected, when the BKSW makes the transition from OFF to ON, whichmeans a film cassette is being loaded into the cassette housing 5 andthe back cover is being closed, then step S110 is performed. In stepS110, subroutine "initial winding" (which will be described below) isperformed. If the state of the BKSW of the back cover module 7 makes notransition, the next step Slll is performed, and being detected the REWSW. When discriminating the REW SW is operated, the next step Sl12 isperformed, and subroutine "rewind" is executed. The flow advances tostep Sl09 after recording to the magnetic track 41 of the film 29 inresponse to rewinding of the film 29. When detecting no transition inthe REW SW, step S113 is performed. In step Sl13, the state of the PW SWis detected, if the PW SW is OFF, the B microcomputer 11 turns off theDC--DC converter and terminats operation of the B microcomputer 11. Ifthe PW SW is ON, the next step Sl14 is performed. In step Sl14, thestate of the POP UP SW is detected. If the POP UP SW is ON, which meansallowing to operate the flash, then step S115 is performed and thecommand for charging the main capacitor of the flash is transmitted tothe flash control circuit 19.

In step Sl16, the subroutine "mode change" is executed, wherein the modeis changed in response to the operation of the mode SW 1. In step Sl17,the average light metered value BVAVE and the compensation value of thelight metering BvΔ are calculated among five light metered values by thelight metering circuit 12, the shutter time value and the aperture valueare also calculated. Where the BvA is data which is varying inaccordance with the amount of trimming which will be described later. Instep S118 the exposure condition, current frame number, and date areindicated in the display 2. In the trimming mode, the trimming area isindicated in the view finder of the camera in accordance with the amountof trimming.

In step Sll9, the state of the REL SW 4 is detected, if the REL SW isOFF, step Sl20 is performed clearing the AF LOCK flag, and returning theflow to step SlO9. On the other hand, if the REL SW is ON, then the nextstep Sl21 is performed. The state of the AF LOCK flag is detected instep Sl21, if the AF LOCK flag is set "1", then step Sl22 is performed,and the state of the continuous exposure flag is detected. Where thecontinuous exposure flag is set, as when setting the camera to thecontinuous exposure mode, the camera carries out a continuous exposureoperation when the REL SW is ON. The operation of the focus adjusting isonly done once for the first time of the exposure operation, so that thecommunication between the main body 3 of the camera and the back covermodule 7 is also allowed only once for the first time of the exposureoperation. If the continuous exposure flag is "1", then step S129 isperformed. However, if the continuous exposure flag is "0", then stepS109 is performed because the camera is being inhibited from exposingcontinuously. That is, until the REL SW 4 is OFF and the AF LOCK flag is"O" at step S120, the exposure operation is disabled.

In step S121, if the AF LOCK flag is detected as "0", then the next stepS123 is performed. The distance from the object is measured by thedistance measuring circuit 13 (step S123), controlling the focusadjusting mechanism 16 in accordance with the measured distance (stepS124), setting "1" the AF LOCK flag (step S125), and checking theexistence of the back cover module 7 by the M flag (step S126). In stepS126, if judging the M flag being set "1", then step S127 is performed,and preparing the data to be stored in the EEPROM 46 of the back covermodule 7. These prepared data are then transferred to the Mmicrocomputer 26 by the D mode communication (step S128). In step S129,the subroutine "battery check" is executed, and the film is exposed inaccordance with the exposure conditions calculated in step S117 (stepS130), executing the subroutine "winding one frame" (step S131),effecting step S109, and repeating above mentioned operation until thePW SW is turned off in step S113.

The operating sequence of the subroutine "mode change" will be describedbelow with reference to the flow chart of FIG. 18. In step S200, thestate of the DATE MOD SW as one of the mode switches is detected,wherein operating this switch, step S201 is performed, and a command forchanging the printing mode to the date control circuit 30 is generated.Four date printing modes are provided. The camera changes its modewhenever the DATE MOD SW is operated as shown in FIG. 26, where the dateprinting mode is indicated in the display circuit 17. In step S202, thestate of the SEL SW is detected, if the SEL SW is operated, then stepS203 is performed, and a command for directing the amending digit istransmitted. The display of the indicating circuit is changed wheneverthe SEL SW is operated as shown in FIG. 25. The digit indicated betweenthe square brackets is the selected digit. The selected digit isindicated by flashing it. In step S204, the state of the ADJ SW isdetected, if the ADJ SW is operated, then step S205 is performed, andthe corresponding counter in the date control circuit is amended.

In step S206, the state of the CONT SW is detected, if the CONT SW isoperated, step S207 is performed, toggling the CONT flag. Continuousexposure is allowed when the CONT flag is set "1". In step S208, thestate of the M flag is detected, if the M flag is "0", then #0 is set astrimming data in step S209, because no data recording to the film 29 isavailable without the back cover module 7. If the M flag is "1", thenstep S211 is performed, and the state of the TRIM SW is checked. If theTRIM SW is operated, then step S211 is performed, and the trimming datais changed as shown in FIG. 27.

In step S212, the state of the PSEL SW is detected. If the PSEL SW isoperated, then step S213 is performed, and the date printing mode asshown in FIG. 28 is changed. The format of the data to be printed to thefilm 29 is changed in accordance with the printing mode. Whenever thePSEL SW is allowed to operate, the printing operation of the date withinthe exposure area by the B printing LED 31 is disabled, because dateprinting can be done by the processing laboratory from the data recordedon the film. Trimming photography may cause print data, which is printedwithin the exposure area of the film, to be lost when printing it to theprinting paper. However, date data can be printed by the processinglaboratory regardless of the trimming photography.

The trimming data and the actual printing area in the printing paperwill be described below with reference to FIG. 29. If the trimming datais #0, then all of the exposed area within a frame is printed to theprinting paper. If the diagonal of the frame is noted by LO, then therelationship between the diagonal of trimmed printing area Ln and LO isgiven as follows.

    LO=Ln 2 N/4

Where N is a parameter which is set as trimming data. In thisembodiment, N has the range 0-4. The amount of trimming is changed inaccordance with the power series.

FIG. 30 is an indication example in the view finder of the camera. InFIGS. 30 (a)-(e), only the area surrounded by the four corner markerswill be printed on the printing paper, each one of the figurescorresponds to a different trimming magnification N, of 0-4,respectively. Another trimming indication which enables one to view theactual trimming area can also be obtained using zooming view finderoptics. The operating sequence of the subroutine "initial winding" willbe described below with reference to FIGS. 1920. In this subroutine, thefilm 29 is pulled out from the film cassette 74, and the film isdelivered to the take up spool 6, when the back cover module 7 ismounted thereto, the data stored in the magnetic recording portion areread out in response to the above mentioned operation, and preventingfrom double exposure by using the read out data. In step S301, thesubroutine "battery check" is performed. A register PICO is cleared instep S302, where the PICO is used for counting the PI pulse signalapplied to the input port PPI. In step S303, the motor for deliveringfilm (M2) 62 is driven in the counter clockwise direction, so that thefilm 29 is delivered from the film cassette toward the take up spool 6.When delivering the film 29, the sprocket wheel 83 meshes with theperforation of the film 29. Rotation of the sprocket wheel 83 causes thepulse signal to the PPI from the PI 25.

In step S304, the signal in the PPI is checked, if the pulse signal fromthe PI 25 is detected, the PICO is incremented in step S305. In stepS306, the PICO is judged whether it equals to the predetermined valuePIXl, wherein the PIXl represents the number of pulse required to reachthe tip portion of the film to the take up spool 6. In case of noagreement obtained, step S304 is performed again in order to continuethe operation. In step S306, if an agreement obtained, the filmdelivering motor (M2) 62 is braked in step S307, the supply of power tothe motor (M2) is stopped in step S308, and the value of M flag ischecked in step S309. If the M flag is set "1", it means that the backcover module 7 is mounted to the main body 3 of the camera, then theflow advances from step S309 to step S310, and the B mode communicationis executed. As a result, the magnetic head 34 is abutted to the film29, enabling the M microcomputer 26 to reproduce the data on the film.The operation of reproducing the data is executed simultaneously as thefilm 29 is wound to the take up spool 6. After these operations, commandG is transmitted to the M microcomputer 26 in step S311, startingcommunication in the G mode. In step S312, the frame number (0) istransmitted to the M microcomputer 26. Then the M microcomputer 26stores the reproduced data into the area for frame number zero of theEEPROM 46.

In step S313, the register PICO is cleared. In step S314, the D-Aconverter 11a is set to vO in order to fix the feeding speed of the film29, wherein the value Vo is fixed as to be suitable for the take upspool 6 to catch the film 29. Then the motor (Ml) 61 for winding thefilm is driven in the clockwise direction in step S315. In step S316,the pulse signal from the PI 25 is checked, if the pulse signal isdetected, the register PICO is incremented simultaneously in step S317.Then in step S318, the register PICO is judged whether it equals to thepredetermined value PIX2, wherein the PIX2 represents the initialamounts of the film 29 to be wound on the take up spool 6. In case nomatch is obtained, step S316 is performed again in order to continue theoperation. In step S316, if match is obtained, the film feeding motor 61(M1) is braked in step S319, and supply of power to the motor Ml isstopped in step S320. In step S321, the state of the M flag is checked.If the flag is reset "0", then step S322 is performed, and the filmcounter is set to "1". In step S323, the variable TRMCO which countsnumber of frame other than #O is cleared, to the main routine isreturned to. Where the value TRMCO is recorded on the film as one of thedata for zero frame. If the M flag is set "1" in step S321, then theflow advances to step S325, and the G mode communication is terminated.In step S326, the C mode communication is executed, and the Mmicrocomputer 26 separates the magnetic head 34 from the film 29.

In step S327, the H mode communication is executed, the B microcomPUter11 receives the data stored in the area for frame zero of the EEPROM.The received data are checked whether or not existing data for exposedframe in step S328. If no such data is detected, it means that the film29 has been loaded for the first time, thus no frame is exposed. In thiscase, step S329 is performed, and the variable FCO is set to "1". Instep S330, the variable TRMCO is cleared "0". The register EXPX is setto "O" in step S331, then returns to the main routine (step S332),wherein the EXPX is also used in the subroutine "rewind". On the otherhand, in step S328, if there are data for an exposed frame, then stepS333 is performed, the number of the exposed frame is checked todetermine whether it equals EXPn or not, wherein EXPn represents thenumber of available exposure frames of the film loaded in the camera. Incase a match is obtained in step 333, then a warning is indicated instep S334. This warning indicates that no frame of this film isavailable for exposure. When an exposure operation is being carried out,then the film is being multiple exposed. However, the camera does notinhibit from doing so, to allow conscious double exposure. Therefore,the camera executes only a warning operation in this step.

In step S333, if the number of exposed frame does not match the EXPn,then the number of exposed frames is set to the variable EXPX in stepS336. The variable FCO is set to "1" (step S337), and a maximum value isset to the D-A converter 11a for setting speed of feeding film 29 (stepS338), wherein the maximum value is one which can be set to the D-Aconverter 11a. Thus the transistor Q1 for supplying power to the bridgecircuit 35 consisted of transistors Q2-Q5 remaining in the ON state. Themotor (M1) 61 is driven in the clockwise direction in step S339, thenthe film 29 is wound to the take up spool 6. In step S340, the PICO isset to "O", and the pulse signal from the PI 25 is checked at the portPPI. If the pulse signal received, then step S342 is performed and thePICO is incremented.

In step S343, the PICO is checked whether or not it equals to PIW,wherein the PIW denotes the number of the pulse of PI 25 required towind the film 29 as much as one frame. If the PICO does not agree withthe PIW, then the flow returns to step S341, and if an agreement isobtained, then the flow advances to step S344, the film counter FCObeing incremented. In step S345, the FCO is checked if it equals to theexposed frame plus one, if a match is obtained, the unexposed portion ofthe film 29 is prepared at the aperture opening 82. In step S346, themotor (M1) 61 is braked, and the supply of power to the motor (M1) 61 isstopped in step S347. On the contrary, in step S345, if the FCO does notagree with exposed frame plus one, then the flow returns to step S340 inorder to continue the film winding operation.

The operating sequence of the subroutine "one frame winding" will bedescribed below with reference to the flow chart of FIG. 21. At first,the condition of date printing within the picture frame is set to thedate control circuit, wherein the directed condition is a lapse ofemitting time and an interval of emission of the B printing LED 31. Thelapse of emitting time of the LED is set in accordance with the filmspeed, and the interval of emission of the LED is fixed in accordancewith spacing between characters printed and the speed of feeding thefilm 29. In step S402, the timer counter is cleared, then counting isstarted in step S403. The timer counter is used for detecting the end offilm 29. If the winding operation for one frame does not finish within apredetermined lapse of time Tw, then the film 29 is judged as winding upto the end. In step S404, the register PICO is cleared, and a maximumvalue is set to the D-A converter 11a for setting the speed of windingthe film 29 in step S405, where the register PICO is used for countingthe pulse signal from the signal processing circuit 24. In step S406,the motor (Ml) 61 is driven in the clockwise direction, hence, the film29 is wound by the take up spool 6.

In step S407, the value in the timer counter is checked to determine ifit is greater than Tw. In the case where it is greater than Tw, the flowadvances to step S408, and the motor (M1) 61 is braked. In step S409,the supply of power to the motor (M1) 61 is stopped and the flowadvances to the subroutine "rewind". On the contrary, in step S407, ifthe value in the timer counter is smaller than Tw, then step S411 isperformed, and waiting for arrival of the pulse signal on PPI by thesignal processing circuit 24 from the PI 25 in step S411. If no signalis received, then step S407 is performed, and if the signal received,step S412 is performed. In step S412, the PICO is incremented, judgingif the PICO equals to the PIX3 in step S413, wherein the PIX3 is aparameter which directs position of date to be printed. If match isobtained, step S414 is performed, directing the date control circuit tostart the printing operation. In the case of an inhibited printing mode,the date control circuit does not print the date despite receiving thecommand from the B microcomputer 11, because the B microcomputer 11 isoperating without being in the data print mode enabled in step S414.

In step S415, the PICO is checked to determine if it equals PIW, whereinPIW denotes the number of pulse signals generated by the PI 25 whenwinding the film 29 as much as one frame. If the PICO does not agreewith the PIW, the flow returns to step S407 in order to continue theoperation. When the film 29 is wound as much as one frame, the motor(Ml) 61 is braked in step S416, and the supply of power to the motor(M1) is stopped in step S417. In step S418, the value of the filmcounter FCO is checked to determine if it equals EXPn, wherein EXPndenotes the number of the exposure frame available of the film 29, whichis read out from the DX code read out circuit 20. If the FCO does notagree with the EXPn, then the FCO is incremented in step S421. In stepS419, the print inhibited mode is examined, if being in the printinhibited mode, step S421 is performed, and if not being in that mode,the flow advances to the subroutine "rewind". This is the reason for thefact that the operation of date printing within the picture frame isdone in response to winding film in this embodiment, so thatimperfection of winding film causes imperfection of printing date, i.e.,generally, a 24 EXP film is allowed to expose up to 25 frames, however,exposing further frame is not guaranteed. Thus steps S418, and S419 areadded. In step S422, the trimming data is checked if it equals to #0, ifa match is obtained, the flow returns to the main routine, else theTRMCO is incremented in step S423.

The operating sequence of the subroutine "rewind" will be describedbelow with reference to the flow chart of FIGS. 22-23. At first, thesubroutine "battery check" is performed in step S501. The condition ofthe M flag is checked in step S502. If the flag is reset "0", then stepS503 is performed, and the rewind flag is set "1", which will be storedinto the memory 18, because the flag should be kept even during thepower off state. The rewind flag is cleared when the rewind operation isterminated normally. If the back cover mounted to the camera is otherthan the back cover module 7, then the film 29 is required simply to berewound into the film cassette 74, so that it is preferable to rewindthe film as fast as possible with allowing deviation in its speed. Insuch a case, a maximum value is set to the D-A converter 11a for fixingrewinding speed of the film 29 in step S504, clearing the timer counter(step S505), and starting the timer counter (step S506). The timercounter is used for judging if the rewinding operation is completelyfinished.

The film 29 is rewound into the film cassette 74 by driving the motor(M1) 61 in the counter clockwise direction in step S507. The input portPPI is checked if it receives the pulse signal in step S508, if thepulse signal received, then step S509 is performed, and the timercounter is cleared. In step S510, value in the timer counter is checkedif it is greater than a predetermined value TINT. When the film 29 hasbeen rewound into the film cassette 74, the sprocket wheel 83 has becomestopped and thus generation of a pulse signal is also stopped. Then theflow advances from step S510 to step S511 because of the advance in thetimer counter. In step S511, the rewind flag is cleared, and step S534is performed in order to brake the motor (M1) 61.

In the case of advancing step from S510 to S512, the state of the powerswitch PW SW is checked. If the PW SW is ON, then the flow returns tostep S508. When the PW SW being turned OPF, step S534 is performed inorder to stop the rewinding operation, in such a case, as step S511 isnot performed, the rewind flag is kept in the set condition "1". Ifreturning to the main routine is caused by turning off of the PW SW, theB microcomputer 11 halts in its main routine. However, as the rewindflag is kept in the set condition, when beginning operation of the Bmicrocomputer 11 again, the subroutine .rewind X- is performed again,which corresponds to step S102 and S103 in the main routine (see FIG.16). Thus, the remaining film 29 in the camera is then begun to rewindinto the film cassette 74 again. Where the interruption of filmrewinding can be allowed only in case of mounting to the camera otherthan the back cover module 7. The M microcomputer 26 records the datastored in the EEPROM 46 simultaneously in response to the rewindoperation, so interruption in the rewind operation can not be allowedwhen mounting the back cover module 7 to the camera.

On the other hand, in step S502, if the back cover mounted to the camerais the back cover module 7, then step S513 is performed, and the data isprepared for storing in address ADOO-ADON of the EEPROM 46. In stepS514, the D mode communication is executed, the data obtained in thiscommunication are stored in the EEPROM 46, which are used for preventingfrom double exposure as described above. In step S515, the B modecommunication is executed, in this communication, the M microcomputer 26enables to flow current in the solenoid 45, resulting that the magnetichead 34 is abutted on the film 29. The operation of recording data iscarried out simultaneously with the operation of rewinding the film 29.In step S516, the command F is transmitted to the M microcomputer 26 inorder to begin the F mode communication. A value Vo is set to the D-Aconverter 11a for fixing speed of feeding the film 29 in step S517,wherein the value Vo denotes suitable speed of feeding the film 29 forrecording data on the magnetic track 41. In step S518, the motor (M1) 61is driven in the counter clockwise direction in order to rewind the film29 into the film cassette 74. The register PICO is cleared in step S519,wherein the PICO is used for counting the pulse signal received in theinput port PPI.

In step S520, waiting for the pulse signal from the PI 25, if the pulsesignal is detected, then step S521 is performed, and the PIC0 isincremented. The PIC0 is checked if it equals to PIW+PI A in step S522.If an agreement is not obtained, then the flow returns to step S520 inorder to continue the pulse count operation, and if an agreement isobtained, then step S523 is performed. A predetermined amount of timedelay to from the beginning of film feeding to the beginning ofrecording operation is generated by the operation of steps S520-S522.

The reason why steps S520-S522 are required will be described below withreference to FIG. 31. Provided that the magnetic head 34 and the Mprinting LED 44 are disposed with offset spacing A in the section fromthe aperture opening 82 to the film cassette 74, the PI Δ is a valueconverted the offset spacing Δ into the number of pulse signals. W is anamount of film movement as much as one frame, and the PIW is a valueconverted W into the number of pulse signals. The M microcomputer 26executes two recording operations in response to the operation ofrewinding the film 29. The one is the operation of recording the data onthe magnetic track of the film 29 by using the magnetic head 34, and theother is the operation of printing the data optically to the area belowthe exposed portion of the film in the opposite side of the perforationby using the M printing LED 44. Thus, recording data within the sectionshown as Δ+W can not be executed by the above described operation ofsteps S520-S522. These operations (steps S520-S522) enable the recordingposition to meet with the exposed area of the film. If misalignmentoccurred, this causes some trouble both in printing treatment to theprinting paper and in cutting of the film. The magnetic head 34 is, infact, disposed at a different position than the M printing LED 44, thusto be exact two values of Δ are required. However, if the offset spacingis minimized as not to cause any trouble, then it gives no fatalobstacle to use only one Δ value. The value Δ is stored in the memory18.

Now, the operation in the flow chart will be described again withreference to FIG. 23. In step S523, the FCO is judged if it is greaterthan the EXPX, wherein EXPX denotes the number of the exposed frame. Ifthe FCO is greater than the EXPX, then the flow advances to step 525,and a start recording signal is transmitted to the M microcomputer 26.The B microcomputer 11 outputs the FCO as the start recording signal. Ifthe FCO is smaller than the EXPX, then the FCO is inhibited fromtransmitting to the M microcomputer 26. The reason for this will bedescribed below. The film 29, which is once used, has some data thereonfrom one frame to the frame indicated by the EXPX, so there are nofurther needs to record to that film 29. If the recording operation iscarried out, then undefined data remaining in the EEPROM 46 are recordedon the magnetic track of the film 29, and the optically printed data aredifficult to be read out because of double exposure of the differentdata.

In step S523, if the FCO is smaller than the EXPX, then the flowadvances to step S524, and the FCO is checked if it equals "0". If itequals "0", then step S525 is performed, and the FCO is transmitted tothe M microcomputer 26. Number of the exposed frame is required torecord on the zero frame track of the film, when there are some data onthe film, recording operation is executed to change the data. In stepS526, the PICO is cleared, and in step S527, waiting for the pulsesignal from the PI 25.

When detecting the pulse signal from the PI 25, step S528 is performed,and the PICO is incremented. In step S529, the PICO is checked todetermine if it equals PIW. While the film 29 is rewound as much as oneframe, the operation of steps S527-S529 is continued. After rewindingthe film 29 as much as one frame, the flow advances to step S530. Instep S530, the film counter FCO is checked to determine if it equals"0". If a match is obtained, step S532 is performed, and the F modecommunication is terminated. In step S533, the C mode communication isexecuted, and the M microcomputer 26 stops supplying current to thesolenoid 45. Thus, the magnetic head 34 is separated from the film 29.The motor (M1) 61 is braked (step S534), the supply of power to themotor (Ml) 61 (step S535) is stopped, and the process flow returns tothe main routine. In step S530, if the FCO is not "0", then step S531 isperformed. After decrementing the FCO, the flow returns to step S523 tocontinue the rewind operation.

The operating sequence of the subroutine "battery check" will bedescribed below with reference to the flow chart of FIG. 24. The stateof the M flag is checked in step S601. If it equals "O" then step S602is performed, else step S604 is performed. In step S602, the VWRl isread out from the memory 18, which is connected to the B microcomputer11, and stored in the register VREF1.

In step S603, the VLOCKl is read out from the memory 18, and stored inthe register VREF2, and the state of the battery is judged on the basisof the result of the two reference voltages stored in the VREF1 andVREF2. If the VREF1 is greater than the VREF2 and the voltage of thebattery is greater than the VREF1, then the operation of the camera willbe carried out with no trouble. If the VREF1 equals to or is greaterthan the voltage of the battery, which is equal to or greater than theVREF2, then warning should be given to the operator because it will giveno trouble in the operation of the camera, but a great deal of theenergizing power of the battery has been lost. Further, if the VREF2 isequal to, or greater than, the voltage of the battery, then theoperation of the camera should be inhibited because the battery hasinsufficient energizing power to guarantee the operation of the camera.

The VWR1 is a value to be used for judging whether or not giving thewarning to the operator when the back cover module 7 is not mounted tothe camera. When the back cover module 7 is mounted to the camera, thesame reference voltage can not be used because of greater batteryloading. Therefore, in step S604, the VWR2 is set as the VREF1 in orderto meet the condition that the VWR2 is greater than the VWR1, whereinthe VWR2 is stored in the memory 18. The VLOCK1 is a value to be usedfor judging whether or not to permit the operation of the camera. Whenthe back cover module 7 is mounted to the camera, the VLOCK1 can not beused, so in step S605, the VLOCK2 is set as the VREF2. In this case theVLOCK2 is greater than the VLOCK1, wherein the VLOCK2 is stored in thememory 18. When the reference voltages are both set to the VREF1 and theVREF2, step S606 is performed.

In step S606, the output port PRL is changed from high level "H" to lowlevel "L" in order to turn on the transistor Q10 which allows current toflow into the load resistor RL. A 20 msec delay is executed in order toget stability in the voltage of the battery in step S607. In step S608,the voltage of the battery is measured by the A-D converter 11b storedin the register VBAT. When finishing measurement of the voltage of thebattery, in step S609, the PRL is changed from low level "L" to highlevel "H" turning off the transistor Q10. In step S610, the VBAT ischecked to determine whether or not it is greater than the VREF1. If theVBAT is greater than the VREF1, then no trouble will occur, so the flowreturns to the main routine.

If the VBAT is smaller than the VREF1, then the VBAT is further checkedto determine whether or not it is greater than the VREF2 in step S611.If the VBAT is greater than the VREF2, then step S612 is performed, andthe flow returns to the main routine after giving some warning. In stepS611, if the VBAT is smaller than the VREF2, then step S613 isperformed, making indication of an inhibited state of operation, andwaiting for the power switch to be turned off by the operator in stepS614.

When the power switch is turned off, step S615 is performed, and the Mflag is examined. If the M flag is "O", then the B microcomputer 11 willhalt its operation, else the B microcomputer 11 will halt its operationafter executing the B mode communication in step S616.

The operation of recording data to the magnetic track of the film 29 bythe M microcomputer 26 will be described below with reference to FIGS.31-33, and 38. The operation of the M microcomputer 26 is described withreference to FIG. 38.

As is described above, the M microcomputer 26 is operated by thecommands of the B microcomputer 11 (referring to FIGS. 914). In stepS701, the M microcomputer 26 detects communication request commands fromthe B microcomputer 11 by sensing the state of the input port Pr9. Whendetecting the communication request command, the flow advances from stepS701 to step S702. In step S702, the M microcomputer detects command Afrom the B microcomputer. In case of detecting command A, the flowadvances from step S702 to step S703, and the predetermined process forterminating the communication is executed. Where the process in the Amode is to detect whether the back cover module 7 is mounted to thecamera or not by the B microcomputer 11. The B microcomputer determinesthe existence of the back cover module 7 by confirming the A modecommunication. Therefore, no additional process is required for the Mmicrocomputer 26.

In the case of detecting a command other than command A, the flowadvances from step S702 to step S704. If command B is detected, then theflow advances from step S704 to step S705, and the process of the B modeis executed. In step S705, the M microcomputer enables the flow ofcurrent into the solenoid to cause the magnetic head 34 and H printingLED 44 to abut the film 29, and step S703 is performed.

When the detected command is a command other than the command B, theflow advances from step S704 to step S706. If the detected command iscommand C, then the flow advances from step S706 to step S707, and theprocess of the C mode is executed.

In step S707, the M microcomputer disables the flow of current into thesolenoid so as to separate the magnetic head 34 and M printing LED 44from the film 29, step S703 being performed. When the detected commandis other than command C, the flow advances from step S706 to step S708.If the detected command is command D, then the flow advances from stepS708 to step S709, and the process of the D mode is executed.

In step S709, the M microcomputer receives data from the Bmicrocomputer. The B microcomputer transmits data to the M microcomputerprior to exposure, wherein the data are recorded onto the film when thefilm is rewound. Therefore, in step S710, the M microcomputer transfersthe received data into the EEPROM, and step S703 is performed.

When the detected command is other than command D, the flow advancesfrom step S708 to step S711. If detected command is command E, then theflow advances from step S711 to step S712, and the process of the E modeis executed. In step S712, the M microcomputer receives data includingthe parameters for recording the data onto the film, and step S703 isperformed.

When the detected command is other than command E, the flow advancesfrom step S711 to step S713. If the detected command is command F, thenthe flow advances from step S713 to step S714, and being executed theprocess of the F mode. In the F mode, the M microcomputer enables torecord data from the EEPROM onto the film when the film is rewinding. Instep S714, the M microcomputer stands by until frame number data istransmitted from the B microcomputer. When receiving the frame numberdata, the M microcomputer reads out corresponding data from the EEPROM,and records the data onto the film. The data recording utilizes both themagnetic head 34 and the M printing LED 44, so that the data arerecorded by both the magnetic recording means and the optical recordingmeans.

In step S716, the M microcomputer detects whether or not the currentframe number is zero. When the detected frame number is zero, itcorresponds to the completion of the recording of all the data, so thatstep S703 is performed. In case of detecting no zero, step S714 isperformed in order to continue the recording operation. Where theoperation of data recording will be described later.

When the detected command is other than command F, the flow advancesfrom step S713 to step S717. If the detected command is command G, thenthe flow advances from step S717 to step S718, and the process of the Gmode is executed. In step S718, the M microcomputer reproduces themagnetic data recorded on the film. In step S719, the M microcomputerstores the data into the EEPROM. The G mode is used for detectingunexposed frame when loading a film which is exposed halfway.

When a detected command is other than command G, the flow advances fromstep S717 to step S720. If the detected command is command H, then theflow advances from step S720 to step S721, and the process of the H modeis executed. In step S721, the M microcomputer receives current framenumber data from the EEPROM. In step S722, the M microcomputer transmitsthe data to the B microcomputer, and step S703 is performed.

In FIG. 32, a toggle motion having period T is executed for every bitdata "O", and another toggle motion having period half of T is executedfor every bit data "1". That is, one frequency in the period T and theother frequency in the period half of T is denoted by bit data "0" and"1", respectively. The clock number for fixing the period T is one ofthe parameters transmitted by the B microcomputer 11 in the E mode.

The pulse signal from the PI 25, which is supplied to the input portPpi, is used as the clock signal. The value of this parameter is fixedso as to be suitable for the number of the data and the number of thepulse signal from the PI 25 for an unit length of the film 29. In FIG.33, when the B microcomputer 11 begins to rewind the film 29, then thepulse signal is received in the input port Ppi. If the M microcomputer26 sets its output port PDTEN from low level "L" to high level "H".Magnetizing current can be passed through the magnetic head 34.Sufficient current is passed through the magnetic head 34 to saturatethe magnetic substance of the film in response to the output port PDT.The logic level "H" corresponds to N or S saturation level, and thelogic level "L" corresponds to S or N saturation level of themagnetization, respectively. The portions on the signal lines Pd3-PdOand Pdl directed by the asterisk (*) are the record start signals.

The M microcomputer 26 receives the current frame number as a recordstart signal, and reads out the data from corresponding area of theEEPROM 46, wherein the data are read out from the PDT in the describedmanner. When missing data transmission due to accomplish the continuousexposure, no such data is stored in the corresponding area of theEEPROM, and the M microcomputer 11 disables to record data onto suchframes.

The operation of the optical data recording achieved by using the Mprinting LED will be described below with reference to FIG. 34 (b). TheM printing LED 44 comprises a series of LEDs of A-G, which are blinkedto print data in accordance with the feeding of the film 29. Assume forthis embodiment that filled squares correspond to a "1" of data, andblanc squares to a "0" of data. Both LEDA and LEDF are used for printingthe sync patterns. The four patterns between these two sync patterns areused to indicate a set of four bits of data, i.e., LEDB-LEDE correspondto bits 0-3, respectively. The data areas are separated by the startcode and end code, wherein these codes are added for reading outconvenience. The LEDG is used for defining the start code and the endcode. In this embodiment, the start code corresponds to the data "OF",and the end code to the data "FF", respectively. In FIG. 34(a), two datarecording areas (area A, area B) for recording data by the M printingLED 44 are provided below the exposure frame of the film. Code patternsfor making prints are printed in the area A. The filled squarescorrespond to light emission of the LEDS, and the blanc squares to nolight emission of the LEDs. The squares shown in the broken line arefixed whether or not to emit light on the basis of data to be recorded.In FIG. 34 (c), some data among recorded data in the area A are recordedin the visual form in the area B. In this embodiment, the photographingdate data is printed by using the M printing LED 44, showing "MAR. 15,"92." The date printing is also available within the picture frame byusing the B printing LED 31 in the main body 3 of the camera. Eventhough date printing mode may be inhibited within the picture frame, ifthe date data is given in area B, it is convenient to deal with thefilm. In this embodiment, the date is recorded only in the area B,however, as much other data as possible should also be recorded withinarea B.

FIG. 35 is a time chart showing the operation of optical data recordingto the film 29 by using the M printing LED 44. When the B microcomputer11 begins to rewind the film 29, the pulse signal from the PI 25 isreceived in the input port Ppi. The portions on the signal lines Pd3-PdOdirected by the asterisk (*) are the record start signals from the Bmicrocomputer 11. The M microcomputer 26 receives current frame numberas a record start signal, and the data stored in the corresponding areaof the EEPROM 46 are read out. This data is recorded both in the area Aand area B by controlling PA-PG on the basis of the data. The lapse ofemission (TON) and the interval of emission (PINT) of the M printing LEDin the area A are included in the parameters output by the Bmicrocomputer during E mode communication, wherein the parameters arefixed so as to be suitable for both the moving speed of film and thefilm speed. The parameters required for the recording operation in thearea B are also transmitted from the B microcomputer 11.

In FIGS. 36 (a)-(b), illustrations of recording that differ from thoseof in FIG. 34 are shown. The data in area A are configured in units offour bits in this embodiment, so they can be denoted using hexadecimalcodes (such as data O-F), and so that they can also be printed in theform of hexadecimal codes.

FIG. 37 shows data printed in area A, wherein the data are configured inthe four bit units, which are stored in the EEPROM 46. As an example,"1992 (Year)", "March (month)", "15th (day)", "23 (hour)", and "55(minute)" are stored. Bit 3 of the print mode data is used to indicateif the date should be printed on the rear face of the printing paper bythe processing laboratory. If it equals "1", then printing is enabled,otherwise printing is disabled.

Bit 2 of the print mode data is indicating if the date should be printedon the surface of the printing paper by the processing laboratory. Ifbit 2 equals "1", then printing is enabled, otherwise printing isdisabled. The format for printing the date is fixed by the combinationof bit 3 and bit 2 of the print mode data. These two bits are fixed inresponse to the operation of the PSEL SW as shown in FIG. 28. Bit 1 andbit O are concern the selection of date print mode and are fixed inresponse to the operation of the DATA MOD SW as shown in FIG. 26. Thebinary data corresponding to bits 0-4 are stored as the trimming data,wherein the trimming data are fixed in response to the operation of theTRIM SW. The number of current frame is stored as "15 EXP" for example.

As mentioned above, according to this embodiment, by using both theoptical recording method and the magnetic recording method, thedrawbacks associated with each recording method can be compensated forwith the other recording method. Thus, important data can be recordedusing both these two methods.

In addition to the above described embodiment, an optical recordingsystem is disclosed as to provide no data failure. Such a recordingmethod is not limited only to optical recording as an alternative or inaddition to optical recording the recording system may produce anirregular portion on the film by heating of a thermal head, or piercingof the film by a piercing device. In the above described embodiment, amagnetic recording caused by current flowing through the magnetic headis disclosed as the magnetic recording means, however, another magneticrecording methods are also available. For example, it is possible toreverse the magnetic polarity of the magnetic substance by heating thesubstance using a LASER or a thermal head.

Many modifications may be made to the above described system withoutdeparting from the spirit and scope of the invention, which is definedin the appended claims.

We claim:
 1. A camera for receiving a film having a magnetic informationrecording portion and an optical information recording portion, thecamera comprising:data generating means responsive to a photographingoperation for generating a plurality of data corresponding to an exposedframe of the film, said plurality of data including first data thatrequires a high degree of protection from loss or is likely to changeand second data that requires a low degree of protection from loss or isunlikely to change; first memory means for storing both the first andsecond data; second memory means for storing the first data; feedingmeans for feeding the film; magnetic recording means for magneticallyrecording the first and second data stored in the first memory means onthe magnetic recording portion of the film during the feeding of thefilm; and optical recording means for optically recording the first datastored in the second memory means on the optical recording portion ofthe film during the feeding of the film.
 2. The camera of claim 1,wherein the first data includes date information.
 3. The camera of claim1, wherein the optical recording means encodes the first data andrecords on the film a pattern corresponding to the encoded data.
 4. Acamera capable of receiving a film having a magnetic recording portionand an optical recording portion, the camera comprising:magneticrecording means for recording data on the magnetic recording portion ofthe film during the feeding of the film; optical recording means forrecording data on the optical recording portion of the film during thefeeding of the film; data generating means responsive to a photographingoperation for generating a plurality of data corresponding to an exposedframe of the film; first memory means for storing the plurality of data;second memory means for storing a part of the plurality of data;magnetic recording control means for transmitting the data stored in thefirst memory means to the magnetic recording means to record theplurality of data on the magnetic recording portion of the film; andoptical recording control means for transmitting the data stored in thesecond memory means to the optical recording means to record the part ofthe plurality of data on the optical recording portion of the film.